package com.zixuan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2022-10-08
 */
@Data
@TableName("device_manner")
public class DeviceMannerEntity {

    /**
     *
     */
    @TableId(type = IdType.ID_WORKER_STR)
	private String deviceId;
    /**
     *
     */
	private String deviceName;
    /**
     *
     */
	private Integer deviceType;
	@TableLogic
	private Integer isDelete;
    /**
     *
     */
	private Date deviceStart;
    /**
     *
     */
	private Date deviceEnd;
    /**
     * 设备状态 1已借出 0 未借出
     */
	private Integer deviceStatus;
}
